package com.hysf.ioc.pro3_ioc_componentscan;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Data
@Component
@Scope ("prototype")
public class Student {
	@Autowired
	private Person person;
}
